QuickTime 2.1 provided two changes from movie event handling as documented in Chapter 2 of Inside Macintosh: QuickTime Components. First, a new flag can now be returned by the MCGetControllerInfo function. This flag indicates when a movie is interactive, and therefore it does not make sense to play it from end to end. Second, while it has always been possible to determine if a point is contained in a movie (using PtInMovie ), the new MCPtInController function provides a way to determine if a point is in the control area of a movie.
The MCGetControllerInfo function returns a new flag to indicate that the movie is interactive and, therefore, cannot be played from start to end. For example, because users interact with a QuickTime VR movie, it cannot be played the same way that video movies can be played.
The someflags parameter to the MCGetControllerInfo function may return the following additional flag:
enum {
mcInfoMovieIsInteractive = 1 << 10,
};
The MCPtInController function reports whether a point is in the control area of a movie.
pascal ComponentResult MCPtInController (
MovieController mc,
Point thePt,
Boolean *inController);
| Previous | Chapter Contents | Chapter Top |